package com.itheima;

import java.io.File;
import java.io.IOException;

/**
 * @auther Macrydy
 * @date 2020/7/3 9:52
 */
public class FileDemo {
    public static void main(String[] args) throws IOException {
        File file = new File("a.txt");
        file.createNewFile();

        File file1 = new File("D://a.txt");
        file1.createNewFile();

        File file2 = new File("aaa//bbb/ccc");
        file2.mkdirs();
    }
}
